package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.domain.Mall;
import com.rockcent.mall.lib.domain.Merchant;
import com.rockcent.mall.lib.dto.MallDto;
import com.rockcent.mall.lib.domain.enumclass.FileKind;
import com.rockcent.mall.lib.domain.enumclass.FileStatus;

import java.util.List;

/**
 * Created by oyhk on 14-6-22.
 */
public interface MallRepositoryCustom  {

    PageResult<MallDto> findMallList(Long userId, PageResult page);

    MallDto findMallInfo(Long mallId);

    List<Mall> findByIdAndCertify(List<Long> idList);

    Mall findByHostnameOrCustomerPlatformDomain(String host);

    List<Merchant> findMerchantsByMallId(Long mallId);
}
